using System;

namespace Flaschengeist.Processes 
{
	public class CompareTracks
	{		
		public void Process(string[] leveltrack, string[] track)
		{
            for (int i = 0; i < leveltrack.Length; i++) {
                if (leveltrack[i] != track[i]) 
				{
                    Completed(false);
					return;
				}               
            }
            Completed(true);
		}
		
		public event Action<bool> Completed;
	}
}


